package com.pengli.mytools.ui.mainPage.collection;

import android.content.Intent;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import androidx.annotation.NonNull;
import androidx.fragment.app.Fragment;

import com.pengli.mytools.R;

import butterknife.ButterKnife;
import butterknife.OnClick;

public class CollectionFragment extends Fragment {


    public View onCreateView(@NonNull LayoutInflater inflater,
                             ViewGroup container, Bundle savedInstanceState) {
        View root = inflater.inflate(R.layout.fragment_collection, container, false);

        ButterKnife.bind(this, root);

        return root;
    }

    @OnClick(R.id.fg_add_url)
    public void onClick(View view){
        Intent intent1 = new Intent(getActivity(), AddURLActivity.class);
//        intent1.putExtra("type",type);
        startActivity(intent1);
    }

}